package org.jeecg.modules.config;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J;

/**
 * @author guoyh
 * @ClassName LogConfig
 * @Description
 * @since 2020/9/16 00:31
 **/
@Component
public class LogConfig implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        SysOutOverSLF4J.sendSystemOutAndErrToSLF4J();
    }
}
